-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show more context for ShellCheck defects and fixes in console output 💾 #300
Show more context for ShellCheck defects and fixes in console output 💾 #300
Conversation
Codecov Report
@@ Coverage Diff @@
## main #300 +/- ##
=======================================
Coverage 84.83% 84.83%
=======================================
Files 4 4
Lines 277 277
=======================================
Hits 235 235
Misses 42 42
|
When using --format=json1, the csgrep output is missing defect position. Reported in: csutils/csdiff#138 Once fixed, this commit should be reverted
00a47fb
to
6bd1f03
Compare
@@ -1,6 +1,9 @@ | |||
# shellcheck shell=bash | |||
# SPDX-License-Identifier: GPL-3.0-or-later | |||
|
|||
# shellcheck source=summary.sh | |||
. "${SCRIPT_DIR=}summary.sh" |
Check warning
Code scanning / shellcheck
Not following: summary.sh: openBinaryFile: does not exist (No such file or directory)
dc24761
to
0899d12
Compare
Show more context for ShellCheck defects and fixes in console output. Using the `csgrep --embed-context` option allows us to show a part of the code in which a defect is reported. This is much more user-friendly than the current plain GCC output format. This commit also fixes issues with statistics calculations. Related to: redhat-plumbers-in-action#88
0899d12
to
070cb3b
Compare
Partially fixes: